const db = require('../utils/DB')
// 创建收藏模型
var CollectSchema = db.mongoose.Schema({
    id: {
        type: db.mongoose.Types.ObjectId
    },
    exerciseId: {
        type: db.mongoose.Types.ObjectId
    },
    studentId: {
        type: db.mongoose.Types.ObjectId
    }
})
var Collect = db.mongoose.model('collection', CollectSchema)

module.exports = Collect;